#include "precompiled.h"
#include "EnvelopeParameters.h"

EnvelopeParameters::EnvelopeParameters(int attack, int decay, double sustain, int release)
{
	this->attack = attack;
	this->decay = decay;
	this->sustain = sustain;
	this->release = release;
}

int EnvelopeParameters::get_attack() const { return attack; }
void EnvelopeParameters::set_attack(int attack) { this->attack = attack; }

int EnvelopeParameters::get_decay() const { return decay; }
void EnvelopeParameters::set_decay(int decay) { this->decay = decay; }

double EnvelopeParameters::get_sustain() const { return sustain; }
void EnvelopeParameters::set_sustain(double sustain) { this->sustain = sustain; }

int EnvelopeParameters::get_release() const { return release; }
void EnvelopeParameters::set_release(int release) { this->release = release; }
